Skip to content

Add minimum beam size check for fit validation. - #370

Merged
kabanaty merged 5 commits into
slaclab:mainfrom
dylanmkennedy:min_beam_size_validation
Jun 23, 2026
Merged

Add minimum beam size check for fit validation.#370
kabanaty merged 5 commits into
slaclab:mainfrom
dylanmkennedy:min_beam_size_validation

Conversation

@dylanmkennedy

Copy link
Copy Markdown
Contributor

Adds the argument 'min_beam_size' to the ImageProjectionFit class. This argument specifies the minimum size (in pixels) of an acceptable projection fit. When 'validate_fit' is True, fit results with sizes below this threshold will be set to NaN.

@kabanaty kabanaty left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches slac-measurements PR

@kabanaty
kabanaty merged commit 04b8129 into slaclab:main Jun 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants